$execute as @s[tag=!guardTower] run return run execute as @n[tag=guardTower,type=item_display] at @s run function vs:system/game_ctrol/guard_tower/anim/play {anim:"$(anim)"}

function vs:system/game_ctrol/guard_tower/anim/stop
$execute at @s run function vs:system/game_ctrol/guard_tower/anim/$(anim)/play